SetTimeBaseMasterTimeBase
You can use theSetTimeBaseMasterTimeBase
function to assign a master time base to a time base. A time base derives its time from either a clock component or another time base. Do not use this function to assign a master time base to a movie's time base.
pascal void SetTimeBaseMasterTimeBase (TimeBase slave, TimeBase master, const TimeRecord *slaveZero);
slave
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).master
- Specifies the master time base to be assigned to this time base. Your application obtains this time base identifier from the
NewTimeBase
function.slaveZero
- Contains a pointer to the time, in the time scale of the master time base, that corresponds to a 0 time value for the slave time scale. This parameter allows you to set an offset between the time base and the master time base. Set this parameter to
nil
if there is no offset.ERROR CODES
NoneSEE ALSO
You can use theGetTimeBaseMasterTimeBase
function, which is described in the next section, to determine the master time base that is assigned to a time base.